
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v3.0.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />

<title>用户中心_ECSHOP演示站 - Powered by ECShop</title>
<base href="__STATIC__/Home/">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="themes/default/style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/transport.js"></script><script type="text/javascript" src="js/common.js"></script><script type="text/javascript" src="js/user.js"></script></head>
<body>

{include file='Public/header'}<!-- 引入公共顶部文件 -->
<div class="clear0 "></div>

<div class="block box">
  <div id="ur_here"> <div class="path"><div>当前位置: <a href=".">首页</a> <code>&gt;</code> 用户中心</div></div> </div>
</div>

<div class="blank"></div>
<div class="block clearfix userpage">
  
  <div class="AreaL">
    <div class="box">
      <div class="box_1">
        <div class="userCenterBox">
{include file='Public/user_menu'}<!-- 引入公共左部文件 -->
</div>
      </div>
    </div>
  </div>
  
  
  <div class="AreaR">
    <div class="box">
      <div class="box_1">
        <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
          
                    
          
                    
          
                    
          
                    
          
                              <h5><span>我的收藏</span></h5>
          <div class="blank"></div>
          <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
            <tr align="center">
              <th width="35%" bgcolor="#ffffff">商品名称</th>
              <th width="30%" bgcolor="#ffffff">价格</th>
              <th width="35%" bgcolor="#ffffff">操作</th>
            </tr>
                      </table>
           <div class="page-form clearfix">

<form name="selectPageForm" action="/ECShop/user.php" method="get">
    
  <div id="pager" class="pagebar">
                          </div>
  
  </form>
<script type="Text/Javascript" language="JavaScript">
<!--

function selectPage(sel)
{
  sel.form.submit();
}

//-->
</script>
</div>          <div class="blank5"></div>
          <h5><span>我的推荐</span></h5>
          <div class="blank"></div>
          <form name="theForm" method="post" action="">
            <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
              <tr>
                <td align="right" bgcolor="#ffffff">是否显示商品图片：</td>
                <td bgcolor="#ffffff"><select name="need_image" id="need_image" class="inputBg">
                    <option value="true" selected>显示</option>
                    <option value="false">不显示</option>
                  </select>
                </td>
              </tr>
              <tr>
                <td align="right" bgcolor="#ffffff">显示商品数量：</td>
                <td bgcolor="#ffffff"><input name="goods_num" type="text" id="goods_num" value="6" class="inputBg" /></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#ffffff">选择商品排列方式：</td>
                <td bgcolor="#ffffff"><select name="arrange" id="arrange" class="inputBg">
                    <option value="h" selected>横排</option>
                    <option value="v">竖排</option>
                  </select></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#ffffff">排列显示条目数：</td>
                <td bgcolor="#ffffff"><input name="rows_num" type="text" id="rows_num" value="1" class="inputBg" /></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#ffffff">选择编码：</td>
                <td bgcolor="#ffffff"><select name="charset" id="charset">
                    
        <option value="UTF8">国际化编码（utf8）</option><option value="GB2312">简体中文</option><option value="BIG5">繁体中文</option>      
                  </select></td>
              </tr>
              <tr>
                <td colspan="2" align="center" bgcolor="#ffffff"><input type="button" name="gen_code" value="生成代码" onclick="genCode()" class="bnt_blue_1" />
                </td>
              </tr>
              <tr>
                <td colspan="2" align="center" bgcolor="#ffffff"><textarea name="code" cols="80" rows="5" id="code" class="B_blue"></textarea></td>
              </tr>
            </table>
          </form>
          <script language="JavaScript">
      var elements = document.forms['theForm'].elements;
      var url = 'http://localhost/ECShop/';
      var u   = '2';
      /**
       * 生成代码
       */
      function genCode()
      {
          // 检查输入
          if (isNaN(parseInt(elements['goods_num'].value)))
          {
              alert('商品数量应该是整数');
              return;
          }
          if (elements['goods_num'].value < 1)
          {
              alert('商品数量应该大于0');
              return;
          }
          if (isNaN(parseInt(elements['rows_num'].value)))
          {
              alert('排列显示条目数应该是整数');
              return;
          }
          if (elements['rows_num'].value < 1)
          {
              alert('排列显示条目数应该大于0');
              return;
          }

          // 生成代码
          var code = '\<script src=\"' + url + 'goods_script.php?';
          code += 'need_image=' + elements['need_image'].value + '&';
          code += 'goods_num=' + elements['goods_num'].value + '&';
          code += 'arrange=' + elements['arrange'].value + '&';
          code += 'rows_num=' + elements['rows_num'].value + '&';
          code += 'charset=' + elements['charset'].value + '&u=' + u;
          code += '\"\>\</script\>';
          elements['code'].value = code;
          elements['code'].select();
          if (Browser.isIE)
          {
              window.clipboardData.setData("Text",code);
          }
      }
	var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
  var btn_buy = "购买";
  var is_cancel = "取消";
  var select_spe = "请选择商品属性";
  </script>
                    
          
                    <div class="blank5"></div>
          
                    
                                        
        </div>
      </div>
    </div>
  </div>
  
</div>
<div class="blank"></div>
{include file='Public/footer'}<!-- 引入公共顶部文件 -->
 

</body>
<script type="text/javascript">
var msg_title_empty = "留言标题为空";
var msg_content_empty = "留言内容为空";
var msg_title_limit = "留言标题不能超过200个字";
</script>
</html>
